package com.dk.service;

import com.dk.pojo.TPerson;
import com.dk.pojo.TRole;

import java.util.List;

public interface RoleService {
    List<TRole> getInfo();

    int insert(TRole role,Integer[] nodesIds);

    TRole selectById(Integer id);

    int updateInfo(TRole tRole,Integer[] nodesIds);

    int deleteById(Integer roleId);

    List<Integer> selectPersonRoleByPid(Integer id);
}
